Attaching Tags to a QuickDraw GX Object
Most QuickDraw GX objects (other than tag objects themselves) can have one or more attached tag objects. Each object has a property called a tag list, which is an array of references to tag objects. You can retrieve and assign tag references with QuickDraw GX functions. For example, to retrieve one or more of the tags attached to a shape object, you call theGXGetShapeTags
function. To add one or more tags to a shape object's tag list, you call theGXSetShapeTags
function.Besides tag objects, other objects that you cannot directly attach tags to include printing objects, font objects, and graphics client objects.
The
GXGetShapeTags
andGXSetShapeTags
functions are described in the chapter "Shape Objects" in this book; the equivalent calls for other kinds of objects are described in the chapters that document those objects.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help